package com.firexxx.study.designmodel.visitor;

/**
 * @description: TODO
 * @author: zhuangzhang2
 * @date: 2020-12-24 14:30
 */
public class DefaultVisitor implements IVisitor {
    @Override
    public void visit(RootElement element) {
        element.operation();
    }

    @Override
    public void visit(LeftElement element) {
        element.operation();
    }
}
